package cate.game.pvp.throne.data.ko;

import cate.game.role.RoleSimpleBase;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("王座争霸-淘汰赛排行榜玩家数据")
public class TBKoRankItem {

	@NoteField(value = "该条记录所归属的主角de快照")
	public RoleSimpleBase owner;

	@NoteField("参与的轮次")
	public int round;

	@NoteField("胜利的场次")
	public int win;

	public TBKoRankItem() {
	}

	public TBKoRankItem(RoleSimpleBase owner) {
		this.owner = owner;
	}


	public void onWin() {
		this.round++;
		this.win++;
	}

	public void onLose() {
		this.round++;
	}
}
